package com.eastmoney.emis.edda.infrastructure.constraint.mapper;

import com.eastmoney.emis.datasource.annotation.TargetDataSource;
import com.eastmoney.emis.edda.common.DbName;
import com.eastmoney.emis.edda.infrastructure.constraint.po.EddaTimeConstraintPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.infrastructure.constraint.mapper
 * @author: 汪程程
 * @date: 2022/10/15 10:06 AM
 * @version: 1.0
 */
@Mapper
public interface EddaTimeConstraintMapper {

    @TargetDataSource(DbName.ACCOUNT)
    List<EddaTimeConstraintPO> findAllByStatus(@Param("status") Integer status);
}
